import request from "@/utils/request";

//地区列表
export function getMajor() {
  return request({
    method: "get",
    url: "/majorJob/getMajorList",
  });
}

// 岗位需求城市分布TOP10
export function getTopTen(id) {
  return request({
    method: "get",
    url: "/majorJob/getJobRequirementList/" + id,
  });
}

// 岗位需求前TOP8
export function getTopEight(id) {
  return request({
    method: "get",
    url: "/majorJob/getJobPeopleList/" + id,
  });
}

// 薪资TOP10公司
export function getSalaryTopTen(id) {
  return request({
    method: "get",
    url: "/majorJob/getCompanyList/" + id,
  });
}

// 行业占比
export function getProportion(id) {
  return request({
    method: "get",
    url: "/majorJob/getIndustryProportion/" + id,
  });
}

// 行业占比
export function getPostData(id) {
  return request({
    method: "get",
    url: "/majorJob/getStatisticalInformation/" + id,
  });
}

// 薪资范围
export function getSalaryRange(id) {
  return request({
    method: "get",
    url: "/majorJob/getSalaryRange/" + id,
  });
}

// 薪资范围
export function getColorCard(id) {
  return request({
    method: "get",
    url: "/majorJob/getJobRequirement/" + id,
  });
}


